package com.yneusoft.dao.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 部门员工信息表(DepartmentStaff)实体类
 *
 * @author makejava
 * @since 2021-11-23 20:58:28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("`department_staff`")
public class DepartmentStaff implements Serializable {
    /**
     * 部门员工aid
     */
    @TableId(type = IdType.AUTO)
    private Integer aid;
    /**
     * 员工aid
     */
    private Integer staffAid;
    /**
     * 部门aid
     */
    private Integer departmentAid;
    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    /**
     * 修改时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
}

